/*
 * @Author: chentao 
 * @Date: 2022-05-06 09:29:57 
 * @Last Modified by: chentao
 * @Last Modified time: 2022-05-13 16:06:49
 */
const pointSt:object ={x:0,y:0};
console.log(`${pointSt}`)
const newPoint = Object.create({x:3});
const keys=Object.keys(newPoint)
console.log(`${keys.length}`)
const keys2 = Object.keys(pointSt)
keys.forEach((val,index)=>{
     console.log(`key:${val} => ${index}`)
})
keys2.forEach((val,index)=>{
    console.log(`keys2:${val} => ${index}`)
})
console.log(`${keys}`)
console.log(`${newPoint.x}`)